<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>易买网 - 首页</title>
	<link rel="stylesheet" th:href="@{/css/style.css}" type="text/css" />
	<script th:src="@{/scripts/function.js}" type="text/javascript"></script>
</head>
<body>
<div class="wrap" id="header">
	<div id="logo"><img th:src="@{/images/logo.gif}" /></div>
	<div class="help"><a class="shopping" href="#">购物车</a><a href="login.html">登录</a><a href="register.html">注册</a><a href="guestbook.html">留言</a></div>
	<div class="navbar">
		<ul class="clearfix">
			<li class="current"><a href="#">首页</a></li>
			<li><a href="#">图书</a></li>
			<li><a href="#">百货</a></li>
			<li><a href="#">品牌</a></li>
			<li><a href="#">促销</a></li>
		</ul>
	</div>
</div>
<div id="childNav">
	<div class="wrap">
		<ul class="clearfix">
			<li class="first"><a href="#">音乐</a></li>
			<li><a href="#">影视</a></li>
			<li><a href="#">少儿</a></li>
			<li><a href="#">动漫</a></li>
			<li><a href="#">小说</a></li>
			<li><a href="#">外语</a></li>
			<li><a href="#">数码相机</a></li>
			<li><a href="#">笔记本</a></li>
			<li class="last"><a href="#">Investor Relations</a></li>
		</ul>
	</div>
</div>
<div class="wrap" id="position">
	您现在的位置：<a href="index.html">易买网</a> &gt; 在线留言
</div>
<div class="wrap" id="main">
	<div class="lefter">
		<div class="box">
			<h2>商品分类</h2>
			<dl th:each="big :${application.DadsCategory}">
				<dt th:text="${big.epcName}">图书音像</dt>
				<dd th:each="small : ${application.SonsCategory}" th:if="${big.epcId==small.epcParentId}">
					<a href="product-list.html" th:text="${small.epcName}">图书</a>
				</dd>
			</dl>
		</div>
		<div class="spacer"></div>
		<div class="last-view">
			<h2>最近浏览</h2>
			<dl class="clearfix">
				<dt><img src="images/product/0_tiny.gif" /></dt>
				<dd><a href="product-view.html">法国德菲丝松露精品巧克力500g/盒</a></dd>
				<dt><img src="images/product/0_tiny.gif" /></dt>
				<dd><a href="product-view.html">法国德菲丝松露精品巧克力500g/盒</a></dd>
			</dl>
		</div>
	</div>
	<div class="main">
		<div class="guestbook">
			<h2>全部留言</h2>
			<ul>
				<li th:each="comm :  ${comPage.getRecords()}">
					<dl>
						<dt  th:text="${comm.ecContent}">那个什么衣服贵吗</dt>
						<dd class="author" >
							<span  th:text="${comm.ecNickName}">网友：张三丰</span>
							<span class="timer" th:text="${comm.ecCreateTime}">2010:10:10 20:00:01</span>
						</dd>
						<dd th:text="${comm.ecReply}">不贵</dd>
					</dl>
				</li>

			</ul>
			<div class="clear"></div>
			<div class="pager">
				<ul class="clearfix">
					<li><a href="#">上一页</a></li>
					<li class="current">1</li>
					<li><a href="#">2</a></li>
					<li><a href="#">3</a></li>
					<li><a href="#">4</a></li>
					<li><a href="#">5</a></li>
					<li><a href="#">下一页</a></li>
				</ul>
			</div>
			<div id="reply-box">
				<form id="regForm" method="post" onsubmit="return checkForm(this)" th:action="@{/comment/add}">
					<table>
						<tr>
							<td class="field">昵称：</td>
							<td><input class="text" name="ecNickName" onblur="CheckItem(this);" onfocus="FocusItem(this)" readonly type="text" value="游客"  /><span></span></td>
						</tr>
						<tr>
							<td class="field">留言内容：</td>
							<td><textarea name="ecContent" onblur="CheckItem(this);" onfocus="FocusItem(this)"></textarea><span></span></td>
						</tr>
						<tr>
							<td></td>
							<td><label class="ui-blue"><input name="submit" type="submit" value="提交留言" /></label></td>
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</div>
<div id="footer">
	Copyright &copy; 2016 湖南软测信息技术有限公司 All Rights Reserved. 湘ICP证1001号
</div>
</body>
</html>